package com.kanche.bigbaby;

import com.nostra13.universalimageloader.core.DisplayImageOptions;

import retrofit.RestAdapter;

/**
 * Created by nealmi on 7/23/14.
 */
public interface AppConfig {
    //    String SERVER_END_POINT = "http://api.idev.kkche.cn:81";
    String SERVER_END_POINT = "http://api.qa.kkche.cn";
    String SERVER_END_POINT_BB = "http://192.168.18.183:9000";
    String WEIDIAN_VEHICLE_BASE = "http://wd.qa.kkche.cn/vehicle/";
    String HELP_URL = "http://app.qa.kkche.cn/help";

    String env = "QA";

    int PAGE_SIZE = 20;
    RestAdapter.LogLevel RETROFIT_LOG_LEVEL = RestAdapter.LogLevel.FULL;
    String WEIXIN_APP_ID = "wxdaf16282e12c3350";
    int MAX_PHOTOS = 24;
    String CHART_BASE_URL = "http://chart.qa.kkche.cn";
    String USER_ARGS_URL = "http://app.qa.kkche.cn/userMenu";



    public static final boolean CONSIDER_EXIF_PARAMS = true;
    public static final String YIXIN_APP_ID = "yx7c36bf998216415482e82be16083074b";
    public static final String TENCENT_APP_ID = "1102352264";
    public static DisplayImageOptions defaultImageLoadOptions = new DisplayImageOptions.Builder()
            .cacheInMemory(true)
            .cacheOnDisk(true)
            .considerExifParams(true)
            .build();
    public static DisplayImageOptions largePlaceholderOptions = new DisplayImageOptions.Builder()
            .cloneFrom(defaultImageLoadOptions)
            .showImageOnFail(R.drawable.place_holder_large)
            .showImageOnLoading(R.drawable.place_holder_large)
            .build();
    public static DisplayImageOptions mediumPlaceholderOptions = new DisplayImageOptions.Builder()
            .cloneFrom(defaultImageLoadOptions)
            .showImageOnFail(R.drawable.place_holder_medium)
            .showImageOnLoading(R.drawable.place_holder_medium)
            .build();
    public static DisplayImageOptions smallPlaceholderOptions = new DisplayImageOptions.Builder()
            .cloneFrom(defaultImageLoadOptions)
            .showImageOnFail(R.drawable.place_holder_small)
            .showImageOnLoading(R.drawable.place_holder_small)
            .build();

//
//    public String getVehicleUrl(String vehicleId) {
//        return WEIDIAN_VEHICLE_BASE + vehicleId + "?from=app";
//    }


    int MainToStep1 = 100;

}
